# The following lines of boilerplate have to be in your project's CMakeLists
# in this exact order for cmake to work correctly
file(GLOB_RECURSE SOURCES
    "*.c"
    "./Haier/*.c"
    "./Midea/*.c"
    )

set(include_dirs 
    "."
    "./Haier"
    "./Midea"
    )
idf_component_register(SRCS ${SOURCES}
                       INCLUDE_DIRS ${include_dirs}
                       REQUIRES driver esp_timer                   
                       WHOLE_ARCHIVE)

target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-unused-const-variable -Wno-format -Wno-format-truncation -Wno-incompatible-pointer-types)

